package ybl.qianchuan.entities;

import java.sql.Timestamp;

public class AccessToken {
    private String  accessTokenName;
    private String accessToken;
    private Integer accessTokenExpires;
    private String refreshToken;
    private Integer refreshTokenExpires;
    private Timestamp updateAt;


    public String getAccessTokenName() {
        return this.accessTokenName;
    }

    public void setAccessTokenName(String accessTokenName) {
        this.accessTokenName = accessTokenName;
    }


    public String getAccessToken() {
        return this.accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getAccessTokenExpires() {
        return this.accessTokenExpires;
    }

    public void setAccessTokenExpires(Integer accessTokenExpires) {
        this.accessTokenExpires = accessTokenExpires;
    }

    public String getRefreshToken() {
        return this.refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Integer getRefreshTokenExpires() {
        return this.refreshTokenExpires;
    }

    public void setRefreshTokenExpires(Integer refreshTokenExpires) {
        this.refreshTokenExpires = refreshTokenExpires;
    }

    public Timestamp getUpdateAt() {
        return this.updateAt;
    }

    public void setUpdateAt(Timestamp updateAt) {
        this.updateAt = updateAt;
    }


    @Override
    public String toString() {
        return "{" +
            " accessTokenName='" + getAccessTokenName() + "'" +
            ", accessToken='" + getAccessToken() + "'" +
            ", accessTokenExpires='" + getAccessTokenExpires() + "'" +
            ", refreshToken='" + getRefreshToken() + "'" +
            ", refreshTokenExpires='" + getRefreshTokenExpires() + "'" +
            ", updateAt='" + getUpdateAt() + "'" +
            "}";
    }

}
